﻿using System.Collections.Generic;

namespace ClassLibrary
{
	public interface IDataAccess
	{
		bool Save(IContent objectToCreate, string table);
		bool Update(IContent objectToUpdate, string table);
		bool Delete(IContent objectToDelete, string table);
		IContent Load(int idOfObjectToLoad, string table);
		List<IContent> LoadAll(string table);
	}
}